/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.chl.niclun.projectwebshop.nbp;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.validation.constraints.Size;

/**
 *Backingbean for Register.xhtml
 * @author martin
 */
@ManagedBean(name="RegisterBackingBean")
@RequestScoped
public class RegisterBackingBean {
    @Size(min=1, max=15)
    private String fname;
    @Size(min=1, max=15)
    private String lname;
    @Size(min=1, max=25)
    private String email;
    private String phone;
    @Size(min=1, max=25)
    private String address;
    private String password;
    
    
    public RegisterBackingBean(){
        
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getLname() {
        return lname;
    }

    public void setLname(String lname) {
        this.lname = lname;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    
    
    
    
}
